#nav {
    position:relative;
    top:147px;
}
#nav ul {
    list-style-type:none;
    margin:0px;
    padding:0px;
    text-align:left;
}
#nav li {
    display:inline;
    margin:3px 5px;
    padding:0px;
    list-style-position:inside;
}
#nav li a {
    padding:5px 25px;
    line-height:40px;
    font-weight:bold;
    font-size:1.1em;
    color:#000000;
    border:2px solid #000000;
    background-color:#ffffff;
}
#nav li a:link,#nav li a:visited  {
    color:#000000;
    text-decoration:none;
}
#nav li a:hover {
    color:#ababab;
    padding:7px 25px 12px 25px;
    position:relative;
    border-bottom:1px solid #ffffff;
}
/* active navigation */
#nav li.active a, #nav li.active span {
    color:#000000;
    padding:7px 25px 12px 25px;
    position:relative;
    border-bottom:1px solid #ffffff;
}
#nav li span {
    padding:5px 25px;
    line-height:40px;
    font-weight:bold;
    font-size:1.1em;
    color:#000000;
    border:2px solid #000000;
    background-color:#ffffff;
}